<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class PathBuilder</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class PathBuilder</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class provides functionality to create strings that will resolve</p>
<p class="description"><p>into functional paths/value at runtime. This is the same process as the  Path class, however it does not evaluate the expression but rather  returns a string that is inserted in the compiled files that will resolved  at runtime.  See Path class for information on protocols handled.</p></p>
		<p class="notes">
			Located in <a class="field" href="_kernel---pathbuilder.php.html">/kernel/pathbuilder.php</a> (line <span class="field">48</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$joins" title="details" class="var-name">$joins</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																												
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#get" title="details" class="method-name">get</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$protocol</span> = <span class="var-default">'string'</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$joinStyle</span> = <span class="var-default">JOIN_NONE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#parseInlineFlow" title="details" class="method-name">parseInlineFlow</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>, [<span class="var-type">constant</span>&nbsp;<span class="var-name">$joinStyle</span> = <span class="var-default">JOIN_NONE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#transformPath" title="details" class="method-name">transformPath</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>, [<span class="var-type">constant</span>&nbsp;<span class="var-name">$joinStyle</span> = <span class="var-default">JOIN_NONE</span>])
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$joins" id="$joins"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$joins</span>
			 = <span class="var-default">array(<br />        JOIN_SINGLE_QUOTE =&gt; &quot;'&quot;,<br />        JOIN_DOUBLE_QUOTE =&gt; '&quot;',<br />        JOIN_NONE         =&gt; '')</span>			(line <span class="line-number">64</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">String concatenation style for inline flow elements</p>
<p class="description"><p>When a path containes an inline flow expression such as:      &quot;http://path{inline/flow}/here&quot;  the final rendering must join a string with the resolved flow expression:      &quot;http://path&quot;.Flow::getVar('inline/flow').&quot;/here&quot;  The quote style depends on the calling expression so it must be determined  when calling the Resolver::get function for applicable situtations.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodget" id="get"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get</span> (line <span class="line-number">78</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a string based on given protocol://path</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$protocol</span> = <span class="var-default">'string'</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$joinStyle</span> = <span class="var-default">JOIN_NONE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$path</span><span class="var-description">: path to resolve/render</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$protocol</span><span class="var-description">: optional default protocol if none given</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$joinStyle</span><span class="var-description">: joining style constant</span>			</li>
				</ul>
		
			
	</div>
<a name="methodparseInlineFlow" id="parseInlineFlow"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">parseInlineFlow</span> (line <span class="line-number">259</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Resolves inline flow vars.</p>
<p class="description"><p>This method will look for curly bracketed values in a string  and return a flow expression.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> path with inline flow expressions</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			parseInlineFlow
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>, [<span class="var-type">constant</span>&nbsp;<span class="var-name">$joinStyle</span> = <span class="var-default">JOIN_NONE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$string</span><span class="var-description">: path to analyze</span>			</li>
					<li>
				<span class="var-type">constant</span>
				<span class="var-name">$joinStyle</span><span class="var-description">: string joining style for {flow} inline expressions</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtransformPath" id="transformPath"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">transformPath</span> (line <span class="line-number">197</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Transforms a slash path into an associative array string</p>
<p class="description"><p>This method accepts a path such as /this/is/it and will return  an array string (i.e. ['this']['is']['it']) for later evaluation.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> array expression string</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			transformPath
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>, [<span class="var-type">constant</span>&nbsp;<span class="var-name">$joinStyle</span> = <span class="var-default">JOIN_NONE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$string</span><span class="var-description">: string to transform</span>			</li>
					<li>
				<span class="var-type">constant</span>
				<span class="var-name">$joinStyle</span><span class="var-description">: string joining style for {flow} inline expressions</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Thu, 02 Aug 2007 17:35:21 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
	</p>
	</div></body>
</html>